package com.mysoft.gfyx.clue.remoteservice;

import com.mysoft.framework.rpc.annotation.PubAction;
import com.mysoft.framework.rpc.annotation.RemoteAction;
import com.mysoft.framework.rpc.annotation.RemoteService;
import com.mysoft.gfyx.clue.mip.dto.GetDeveloperContactsRequestDto;
import com.mysoft.gfyx.clue.remoteservice.dto.PickContactsDto;
import com.mysoft.gfyx.clue.remoteservice.dto.ViewTelNumberRequestDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@RemoteService(appCode = "4022", businessCode = "40220901", path = "/provinceRadarPub")
public interface RemoteRadarService {

    @RemoteAction(value = "/viewTelNumber")
    boolean viewTelNumber(@RequestBody ViewTelNumberRequestDto viewTelNumberRequestDto);

    @RemoteAction(value = "/getContacts")
    List<PickContactsDto> getContacts(@RequestBody GetDeveloperContactsRequestDto getDeveloperContactsRequestDto);
}
